package cn.ad.server.web.spring.service.components.adtraffic2;

import cn.ad.server.web.spring.model.sts.STSAdResponse;
import cn.ad.server.web.spring.service.actions.context.AdContext;
import cn.ad.server.domain.ad.AdSpace;
import cn.ad.server.domain.ad.AdSpaceAdxMap;
import cn.ad.server.domain.ad.AdTemplate;

/**
 * Created by zooy on 17-1-12.
 */
public interface SSPDispatcher {

    STSAdResponse.AdSpace request(AdContext adContext, STSAdResponse.AdSpace adSpace, AdTemplate adTemplate, AdSpaceAdxMap adSpaceAdxMap);

    <T> T compositeParam(AdContext adContext, AdSpaceAdxMap adSpaceAdxMap);

}
